package net.courier.mq;

public interface MessageHandleServer {
	public void setHost(String hosts);
	
	public void setExchangeType(ExchangeType type);
	
	public void setExchangeName(String exchangeName);
	
	public void registerMessageHandler(String key, MessageHandler handler, Protocol<?, byte[]> protocol);
	
	public void start();
	
	public void shutdown();
}
